Get Parent - Get the display element that contains a given element

This action traverses up the object hierarchy to find the closest containing display element (the direct parent if it is a display element, and otherwise the lowest parent in the hierarchy that is a display element).

Trigger [not required]

<Element> (non-repetitive trigger): The element whose parent is needed.

Exits

<Parent> (non-repetitive exit): The parent of the given element (or, if the <Element> trigger is missing, the display element that contains the action itself).

Note: If the closest containing display element is a view (or another top level display element), or there is no parent that is a display element, no value is returned.

Usage Examples

"Common/Templates/UI/Labeled Field/Init" (setting a label's caption to the element name of its parent):